<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
	<link href="../css/style-admin-user.css" rel="stylesheet" type="text/css" />
	<link href="../css/style-admin-all.css" rel="stylesheet" type="text/css" />
	<link rel="stylesheet" href="../css/jquery.ui.css" type="text/css" />
	<script type="text/javascript" src="../js/jquery.js"></script>
	<script type="text/javascript" src="../js/jquery.ui.js"></script>	
	<script type="text/javascript" src="../js/jquery.blockUI.js"></script>
	<script type="text/javascript" src="../js/jquery.masked.js"></script>
	<script type="text/javascript" src="../js/jquery.ui.datepicker-pt-BR.js"></script>
	<script type="text/javascript" src="../js/jquery.maskmoney.js"></script>
	<script type="text/javascript" src="../js/jquery.gerenciador.js"></script>
	<title>User Page</title>
</head>
<body>
	<jsp:include page="header.jsp" />
	<jsp:include page="top-bar.jsp" />
	<div class="header" id="listagem">
		<div class="height-1">
			<table border="1" class="width-1">
				<tr class="height-t">
					<td colspan="3" class="align"><a href="#"><img src="../Imagens/user-add.png" border="0" id="newUser" /></a></td>
				</tr>
				<tr></tr>
				<tr>
					<td class="width-t">Name</td><td colspan="2" class="align">Actions</td>
				</tr>
				<c:forEach var="use" items="${users}">
					<tr>
						<td>${use.name}</td>
						<td><a href="../admin/edit-user.ja?cod=${use.id}"><img src="../Imagens/edit.png" border="0" /></a></td>
						<td><a href="../admin/delete-user.ja?cod=${use.id}"><img src="../Imagens/delete.png" border="0" /></a></td>
					</tr>
				</c:forEach>
			</table>
		</div>
		<div id="paginacao">
           <ul>
                <c:forEach var="pagina" items="${paginacao}">                                    
		        	<li>
		        		<a href="../admin/user.ja?pag=${pagina}">${pagina}</a>
		        	</li> 
                </c:forEach>
           </ul>
       </div>	
	</div>
</body>
</html>
